<template><div>
  <el-table :data="store.Anewlist" style="width: 100%">
    <el-table-column prop="date1" label="Date" width="150" />
    <el-table-column prop="name" label="姓名" />
    <el-table-column prop="age" label="年龄" />
    <el-table-column prop="sex" label="性别" />
    <el-table-column prop="region" label="剧名" />
    <el-table-column prop="desc" label="内容" />
    <el-table-column label="操作" width="200">
      <template #default="scope">
        <div>
          <el-button type="primary" round>编辑</el-button>
          <el-button type="danger" round>删除</el-button>
        </div>
      </template>
    </el-table-column>
  </el-table>
  <div class="demo-pagination-block">
    <el-pagination
      v-model:current-page="currentPage3"
      v-model:page-size="pageSize3"
      :small="small"
      :disabled="disabled"
      :background="background"
      layout="prev, pager, next, jumper"
      :total="1000"
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
    />
  </div>
  </div>
</template>

<script  setup>
import {ref} from 'vue'
import useNewStore from "../store"
const store = useNewStore()
const currentPage3 = ref(5)
const pageSize3 = ref(100)
</script>


<style>
</style>